package com.example.demo.dao;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User select(@Param("userId") String userId);

    List<User> selectAll(@Param("userId") String userId,@Param("userName") String userName,
                         @Param("roleName") String roleName);

    int insert(User user);

    int update(User user);

}
